Retrieve count information about a forest. The forest can be identified either by id or name.
Request Headers | |
---|---|
Accept | The expected MIME type of the response. If the
format parameter is present, it takes precedence over the Accept header. |
Upon success, MarkLogic Server returns status code 200 (OK), and the response body contains the requested data.
manage-user
role, or the following
privilege: http://marklogic.com/xdmp/privileges/manage
The counts view includes the stand count, document count, directory count, reindex refragment fragment count, reindex fragment count, and refragment document count.
The structure of the output returned from this REST API is as follows:
id
name
meta
This is a complex structure with the following children:
uri
current-time
elapsed-time
start-min
view-error
This is a complex structure with the following children:
error-type
error-name
error-code
error-message
count-properties
This is a complex structure with the following children:
error
rebalancer-error
stands-counts
This is a complex structure with the following children:
stand-counts
This is a complex structure with the following children:
stand-id
path
active-fragment-count
nascent-fragment-count
deleted-fragment-count
document-count
directory-count
all-query-rolesets-fragment-count
This is a complex structure with the following children:
query-rolesets-fragment-count
This is a complex structure with the following children:
query-rolesets-id
fragment-count
reindex-refragment-fragment-count
reindex-refragment-rate
forced-reindex-fragment-count
reindex-fragment-count
reindex-previous-versions-count
reindex-stemmed-searches-count
reindex-word-searches-count
reindex-one-character-searches-count
reindex-two-character-searches-count
reindex-three-character-searches-count
reindex-fast-phrase-searches-count
reindex-fast-case-sensitive-searches-count
reindex-fast-element-word-searches-count
reindex-fast-element-phrase-searches-count
reindex-fast-element-character-searches-count
reindex-fast-element-trailing-wildcard-searches-count
reindex-word-positions-count
reindex-scaled-log-tf-normalization-count
reindex-unscaled-log-tf-normalization-count
reindex-element-word-positions-count
reindex-element-value-positions-count
reindex-attribute-value-positions-count
reindex-field-value-searches-count
reindex-field-value-positions-count
reindex-three-character-word-positions-count
reindex-triple-index-count
reindex-triple-positions-count
reindex-trailing-wildcard-searches-count
reindex-trailing-wildcard-word-positions-count
reindex-fast-diacritic-sensitive-searches-count
reindex-word-lexicon-count
reindex-binary-threshold-count
reindex-deleted-stemmed-searches-count
reindex-deleted-word-searches-count
reindex-deleted-one-character-searches-count
reindex-deleted-two-character-searches-count
reindex-deleted-three-character-searches-count
reindex-deleted-fast-phrase-searches-count
reindex-deleted-fast-case-sensitive-searches-count
reindex-deleted-fast-element-word-searches-count
reindex-deleted-fast-element-phrase-searches-count
reindex-deleted-fast-element-character-searches-count
reindex-deleted-fast-element-trailing-wildcard-searches-count
reindex-deleted-word-positions-count
reindex-deleted-element-word-positions-count
reindex-deleted-element-value-positions-count
reindex-deleted-field-value-searches-count
reindex-deleted-field-value-positions-count
reindex-deleted-attribute-value-positions-count
reindex-deleted-three-character-word-positions-count
reindex-deleted-triple-index-count
reindex-deleted-triple-positions-count
reindex-deleted-trailing-wildcard-searches-count
reindex-deleted-trailing-wildcard-word-positions-count
reindex-deleted-fast-diacritic-sensitive-searches-count
reindex-uri-lexicon-count
reindex-deleted-uri-lexicon-count
reindex-collection-lexicon-count
reindex-deleted-collection-lexicon-count
reindex-element-word-query-throughs
This is a complex structure with the following children:
reindex-element-word-query-through
This is a complex structure with the following children:
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-phrase-throughs
This is a complex structure with the following children:
reindex-phrase-through
This is a complex structure with the following children:
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-phrase-arounds
This is a complex structure with the following children:
reindex-phrase-around
This is a complex structure with the following children:
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-range-element-indexes
This is a complex structure with the following children:
reindex-range-element-index
This is a complex structure with the following children:
namespace-uri
localname
scalar-type
reindex-fragment-count
fragment-count
reindex-range-field-indexes
This is a complex structure with the following children:
reindex-range-field-index
This is a complex structure with the following children:
field-name
scalar-type
reindex-fragment-count
fragment-count
reindex-range-path-indexes
This is a complex structure with the following children:
reindex-range-path-index
This is a complex structure with the following children:
path-expression
scalar-type
reindex-fragment-count
fragment-count
reindex-range-element-attribute-indexes
This is a complex structure with the following children:
reindex-range-element-attribute-index
This is a complex structure with the following children:
parent-namespace-uri
parent-localname
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-deleted-range-indexes
This is a complex structure with the following children:
fragment-count
reindex-element-word-lexicons
This is a complex structure with the following children:
reindex-element-word-lexicon
This is a complex structure with the following children:
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-element-attribute-word-lexicons
This is a complex structure with the following children:
reindex-element-attribute-word-lexicon
This is a complex structure with the following children:
parent-namespace-uri
parent-localname
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-all-deleted-word-lexicons
This is a complex structure with the following children:
fragment-count
reindex-geospatial-element-indexes
This is a complex structure with the following children:
reindex-geospatial-element-index
This is a complex structure with the following children:
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-geospatial-element-child-indexes
This is a complex structure with the following children:
reindex-geospatial-element-child-index
This is a complex structure with the following children:
parent-namespace-uri
parent-localname
namespace-uri
localname
reindex-fragment-count
fragment-count
reindex-geospatial-element-pair-indexes
This is a complex structure with the following children:
reindex-geospatial-element-pair-index
This is a complex structure with the following children:
parent-namespace-uri
parent-localname
latitude-namespace-uri
latitude-localname
longitude-namespace-uri
longitude-localname
reindex-fragment-count
fragment-count
reindex-geospatial-element-attribute-pair-indexes
This is a complex structure with the following children:
reindex-geospatial-element-attribute-pair-index
This is a complex structure with the following children:
parent-namespace-uri
parent-localname
latitude-namespace-uri
latitude-localname
longitude-namespace-uri
longitude-localname
reindex-fragment-count
fragment-count
reindex-geospatial-region-indexes
This is a complex structure with the following children:
reindex-geospatial-region-index
This is a complex structure with the following children:
path-expression
coordinate-system
reindex-fragment-count
fragment-count
reindex-deleted-geospatial-region-indexes
This is a complex structure with the following children:
fragment-count
reindex-protected-paths
This is a complex structure with the following children:
reindex-protected-path
This is a complex structure with the following children:
path-expression
reindex-fragment-count
fragment-count
reindex-deleted-protected-paths
This is a complex structure with the following children:
fragment-count
reindex-tde-templates
This is a complex structure with the following children:
reindex-tde-template
This is a complex structure with the following children:
tde-template
reindex-fragment-count
fragment-count
reindex-deleted-tde-templates
This is a complex structure with the following children:
fragment-count
refragment-document-count
refragment-fragment-roots
This is a complex structure with the following children:
refragment-fragment-parent
This is a complex structure with the following children:
namespace-uri
localname
refragment-document-count
document-count
refragment-fragment-parents
This is a complex structure with the following children:
refragment-fragment-parent
This is a complex structure with the following children:
namespace-uri
localname
refragment-document-count
document-count
refragment-new-fields
This is a complex structure with the following children:
refragment-new-field
This is a complex structure with the following children:
field-name
refragment-document-count
document-count
refragment-modified-fields
This is a complex structure with the following children:
refragment-modified-field
This is a complex structure with the following children:
field-name
refragment-document-count
document-count
refragment-removed-configurations
This is a complex structure with the following children:
refragment-document-count
reindex-reverse-searches-fragment-count
rebalance-fragment-counts
This is a complex structure with the following children:
rebalance-fragment-count
This is a complex structure with the following children:
rebalance-destination
fragment-count
rebalance-rate
active-fragment-count
deleted-fragment-count
nascent-fragment-count
related-views
This is a complex structure with the following children:
related-view
This is a complex structure with the following children:
view-type
view-name
view-uri
http://localhost:8002/manage/v2/forests/my-forest?view=counts ==> Returns counts view information of my-forest